//
//  UIColor+Hex.h
//  RiceBasket
//
//  Created by DwZeng on 2021/1/15.
//

#import <UIKit/UIKit.h>

@interface UIColor (Hex)

+ (UIColor *)colorWithHex:(UInt32)hex andAlpha:(CGFloat)alpha;

+ (UIColor *)colorWithHex:(UInt32)hex;
+ (UIColor *)colorWithHexString:(id)input;

+ (UIColor *)colorWithHexString:(id)input andAlpha:(CGFloat)alpha;

- (UInt32)hexValue;

@end
